package com.kinghood.productcenter.dao.base;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kinghood.productcenter.common.model.dao.base.BaseCodeRuleDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kinghood.productcenter.common.model.dto.base.ListCodeRuleQueryDTO;
import com.kinghood.productcenter.common.model.vo.base.CodeRuleListVO;
import feign.Param;

/**
 * <p>
 * 编码规则表 Mapper 接口
 * </p>
 *
 * @author KingHood
 * @since 2023-12-20
 */
public interface BaseCodeRuleMapper extends BaseMapper<BaseCodeRuleDO> {
    /**
     * 列表
     *
     * @param page  页
     * @param param 参数
     * @return @return {@link Page }<{@link CodeRuleListVO }>
     * @author jp
     * @date 2024/01/17 14:37
     */
    Page<CodeRuleListVO> listCodeRule(Page<Object> page,@Param("param") ListCodeRuleQueryDTO param);
}
